//
//  UIScreen+YKOCExection.h
//  YKOCExection
//
//  Created by edward on 2021/11/11.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIScreen (YKOCExection)
/// 获取设备的屏幕尺寸
@property (nonatomic, class, readonly) CGRect  Bounds;
@property (nonatomic, class, readonly) CGSize  Size;
@property (nonatomic, class, readonly) CGFloat Width;
@property (nonatomic, class, readonly) CGFloat Height;
@property (nonatomic, class, readonly) CGFloat Scale;

/// 一像素
@property (nonatomic, class, readonly) CGFloat onePixel;

@property (nonatomic, class, readonly) CGFloat statusBarHeight;

@property (nonatomic, class, readonly) CGFloat navigationBarHeight;

@property (nonatomic, class, readonly) CGFloat tabBarHeight;
@end

NS_ASSUME_NONNULL_END
